package com.servcice;

import com.dao.ClazzDao;
import com.dto.BaseDto;
import com.entity.Clazz;
import com.page.PageInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

public interface ClazzService{
    public BaseDto<Clazz> getAll() throws Exception;
    public int addClazz(Clazz clazz) throws Exception;
    public BaseDto<Clazz> getClazzsByPage(PageInfo pageInfo) throws Exception;
    public BaseDto<Clazz> searchClazzByName(String name, PageInfo pageInfo) throws Exception;
    public BaseDto selectClazzWithScsAndCourse(String sno)throws Exception;
}
